/**
 * Created by hjqi on 2016/1/13.
 * baseDbInfo
 */
var base = require('./mongodb'),
    util = require('util'),
    config= require('../lib/config/config').config;

function baseDbInfo(collection){
    var collection_name = config.mongodb[ collection ] ;
    if( !collection_name){
        collection_name = collection ;
    }
    base.call(this,collection_name);
}

util.inherits(baseDbInfo,base);
module.exports = baseDbInfo;

